package com.ls.controller.scorerecord;

import com.ls.controller.orderrecord.model.QueryOrderRecordModel;
import com.ls.controller.scorerecord.model.QueryScoreRecordModel;
import com.ls.service.IOrderRecordService;
import com.ls.service.IScoreRecordService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ScoreRecordController
 * @Description 充值记录
 *
 * @author pengyu
 * @since 2024-06-28
 */
@Api(value = "积分记录", tags = "积分记录")
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/scoreRecord")
public class ScoreRecordController {
    private final IScoreRecordService service;
    /** 查询积分记录分页列表 */
    @GetMapping("pageList")
    public ResultData pageList(QueryScoreRecordModel model) {
        return service.pageList(model);
    }
}
